package com.beemans.common.app.ui.adapters

import com.beemans.common.app.R
import com.beemans.common.app.databinding.ItemMainBinding
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder

/**
 * @author tiamosu
 * @date 2021/5/28.
 */
class MainAdapter :
    BaseQuickAdapter<String, BaseDataBindingHolder<ItemMainBinding>>(R.layout.item_main) {

    override fun convert(holder: BaseDataBindingHolder<ItemMainBinding>, item: String) {
        holder.dataBinding?.apply {
            mainBtnFeature.text = item
        }
    }
}